﻿using Loogn.OrmLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MicroConfig.NetCore.Server.Models
{
    public class ConfigItem
    {
        [OrmLiteField(InsertIgnore = true, IsPrimaryKey = true)]
        public long Id { get; set; }
        public long ProjectId { get; set; }
        public string Environment { get; set; } = "";
        public string Key { get; set; } = "";
        public string Value { get; set; } = "";

        [OrmLiteField(Ignore = true)]
        public string ProjectName { get; set; } = "";
    }
}
